#ifndef CONSOLE_H_
#define CONSOLE_H_

#include <list>
#include <string>
#include <grrlib.h>


class Console {
public:
	void Delete();
	static Console &GetConsole();
	
	void Print(std::string msg);
	void Pop_back();
	void Clear();
	
	void Render();

private:
	Console(size_t LenOfList = 16);
	~Console();
	
	GRRLIB_texImg *texConsole;
	GRRLIB_texImg *texFont;
	std::list<std::string> MsgList;
	size_t ListLength;
	
	static Console *Singleton;
	
};


#endif /*CONSOLE_H_*/